package com.java_base.study;

import java.util.Scanner;

public class ScannerDemo01 {
    public static void main(String[] args) {
        // 目标：学会和使用键盘录入技术
        Scanner sc  = new Scanner(System.in);

        System.out.println("输入你的年龄：");
        int age = sc.nextInt();
        System.out.println(age);

        System.out.println("输入你的名字");
        String name = sc.next();
        System.out.println(name);

    }
}
